
APPS = service_manager test_client test_server

all : $(APPS)

service_manager : service_manager.o binder.o
	gcc -o $@ $^ -lpthread --static

test_client : test_client.o binder.o
	gcc -o $@ $^ -lpthread --static

test_server : test_server.o binder.o
	gcc -o $@ $^ -lpthread --static

%.o : %.c
	gcc -I include -c -o $@ $<

clean:
	rm $(APPS) -f; rm -f *.o
